<div id="postsum">
<time> {{ post.date | date_to_string }}</time>
<h3><a href="{{ site.baseurl }}{{ post.url }}">{{ post.title }}</a></h3>
<h4><span>{{ post.subtitle }}</span></h4>
      {% assign foundImage = 0 %}
      {% assign images = post.content | split:"<img" %}
      {% for image in images %}
        {% if image contains 'src' %}
            {% if foundImage == 0 %}
                {% assign html = image | split:">" | first %}
<img {{ html }} style="max-height:100px; max-width:200px" />
                {% break %}
            {% endif %}
        {% endif %}
      {% endfor %}

{{ post.content | strip_html | truncate:300 }}
<a href="{{ site.baseurl }}{{ post.url }}"> <em>Read more</em></a>

</div>
